<!-- begin slider warp -->
<div class="wrap">

	<div id="icon-edit" class="icon32"><br /></div>
	<h2>Home Page News & Headlines Manager</h2>
	
<form action="options.php" method="post">
	<?php wp_nonce_field('update-options'); ?>
	
	<!-- begin slider table -->
	<table cellspacing="0" class="widefat" style="margin-bottom:0; margin-top:20px;">
		<thead>
			<tr>
				<th>
				
					<div style="display:table; float:left;">
						<div style="float:left;">
							<input type="image" name="settings" value=" " style="background:none; background:url(<?php echo bloginfo('template_url'); ?>/images/admin/save.png); border:0; cursor:pointer; width:32px; height:31px; display:table;"/>
						</div>
						<div class="savecss">
							<input type="submit" name="publish" id="publish" accesskey="p" tabindex="5" value="SAVE"/>
						</div>
					</div>
				
				</th>
			</tr>
		</thead>

		<tbody>
			

			<tr class='pad'>
				<td>
					<div class="short_title_div">Display categories</div>
					
					<div>
					<?php	list_categories("headlines_cat_id",  get_option('headlines_cat_id'), "All Posts");	?>
					</div>
				</td>
			</tr>
			
			<tr class="pad alternate">
				<td>
					<div class="short_title_div">Display Limit</div>
					
					<div>
						<input type="text" name="headlines_limit" tabindex="1" size="5" value="<?php echo get_option('headlines_limit', '10'); ?>" /><span class="tablespan">item</span>
					</div>
				</td>
			</tr>
			
			<tr class="pad">
			<td>
			
				<div class="short_title_div">Display title</div>
				<div>
					<input type="text" name="headlines_title" tabindex="1" size="30" value="<?php echo get_option('headlines_title', 'Lastest Updates:'); ?>" />
				</div>
			
			</td>
			</tr>
			
			
		
			<tr class="pad alternate">
				<td>
					<div class="short_title_div">Delay</div>
					
					<div>
						<input type="text" name="headlines_delay" tabindex="1" size="5" value="<?php echo get_option('headlines_delay', '5'); ?>" /><span class="tablespan">second (Set 0, if you do not want delay)</span>
					</div>
				</td>
			</tr>
			

			
			<tr class="pad ">
				<td>
				<div class="short_title_div">Headlines (on /off)</div>				
				
				<div>
					<?php	list_onoff("headlines_active",get_option('headlines_active', 'on'));	?>
				</div>
			</td>
			</tr>


		
		</tbody>
			
		<!-- begin add item button -->
		<tfoot>
			<tr>
				<th>
					<div style="display:table; float:left;">
						<div style="float:left;">
							<input type="image" name="settings" value=" " style="background:none; background:url(<?php echo bloginfo('template_url'); ?>/images/admin/save.png); border:0; cursor:pointer; width:32px; height:31px; display:table;"/>
						</div>
						<div class="savecss">
							<input type="hidden" name="action" value="update" />
							<input type="hidden" name="page_options" value="headlines_delay, headlines_active, headlines_limit, headlines_title, headlines_cat_id" />
							<input type="submit" name="publish" id="publish" accesskey="p" tabindex="5" value="SAVE"/>
						</div>
					</div>
				</th>
			</tr>
		</tfoot>
		<!-- end add item button -->

	</table>
	<!-- end slider table -->

</form>



</div>